package com.code.service;

import com.code.domain.Address;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AddressService {
    Address search(Integer addressId);
    int addAddress(String AddressName);
    int deleteAddress(Integer addressId);
    int updateAddress(@Param("address") Address address);
    List<Address> searchAll();
}
